package com.whately.core.base.fileupload.vo;

import com.whately.core.base.fileupload.constant.FileFormatTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * 文件上传返回信息
 */
@ApiModel(value = "文件上传返回信息")
@Getter
@Setter
public class UploadFileRespVO {

    @ApiModelProperty(value = "唯一id")
    private String fileId;

    //fullUrl = serverUrl + relativeUrl
    @ApiModelProperty(value = "绝对路径")
    private String fullUrl;

    @ApiModelProperty(value = "缩略图")
    private String thumbnailViewer;

    @ApiModelProperty(value = "相对路径")
    private String relativeUrl;

    @ApiModelProperty(value = "服务器")
    private String serverUrl;

    @ApiModelProperty(value = "文件后缀")
    private String fileSuffix;

    @ApiModelProperty(value = "文件类型")
    private FileFormatTypeEnum fileFormatType;

}
